home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-03-16 | 1.4 KB | 61 lines | [TEXT/MPS ] |
- #
- # ListInAList
- # Copyright © 1993, Apple Computer Inc.
- #
- #
- Src = ":Src:"
- Obj = ":Obj:"
- Objects = ∂
- {Obj}EnumerateHFSCatalog.c.o ∂
- {Obj}Main.c.o ∂
- {Obj}SpinCursor.c.o ∂
- {Obj}TwistDownList.c.o ∂
- {Obj}WindowManager.c.o
-
- #
- # Directory dependencies. "Everything in the {Obj} directory depends on something
- # in the {Src} directory." Note: you can throw away the contents of the {Obj}
- # directory if you want to rebuild from scratch.
- #
- {Obj} ƒ {Src}
-
- #
- # Compiler dependencies -- common to all compilations The idea here is that all
- # sources are stored in the {Src} subdirectory, and all objects and code resources
- # output by the linker or Rez are stored in the {Obj} subdirectory. Note that
- # we define MPW to simplify portability: this sample compiles under Think C,
- # MPW, MetroWorks C/68000, and MetroWorks C/PPC.
- #
- .c.o ƒ .c ∂
- {Src}ListInAList.h ∂
- {Src}TwistDownList.h
- C {COptions} -d MPW ∂
- -o {TargDir}{Default}.c.o ∂
- {DepDir}{Default}.c
-
-
- #
- # Build the application.
- #
- "ListInAList MPW" ƒƒ ∂
- MakeFile ∂
- {Src}ListInAList.r
- Rez ∂
- {Src}ListInAList.r ∂
- -append ∂
- -t APPL ∂
- -i "{CIncludes}" ∂
- -i "{RIncludes}" ∂
- -o "ListInAList MPW"
-
- "ListInAList MPW" ƒƒ ∂
- MakeFile ∂
- {Objects}
- Link ∂
- -t APPL ∂
- {Objects} ∂
- "{Libraries}"Runtime.o ∂
- "{Libraries}"Interface.o ∂
- -o "ListInAList MPW"
-
-